package com.it.mapper;


import com.it.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {

    User selectUserById(int id);
    int insertUser(User user);
    int updateUser(User user);
    int deleteUserById(int id);
    List<User> selectUserByName(String name);
    List<User> selectUserByCondition(Map map);
    User selectUserWithOrders(int user_id);
}
